package com.big.cart;


import com.big.model.vo.cart.RedisCartVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "service-cart")
@Repository
public interface CartFeignClient {

    //删除购物车商品
    @ApiOperation("删除购物车商品")
    @PostMapping("/api/cart/deCartMerchandise")
    public void deCartMerchandise(@RequestBody  RedisCartVo redisCartVo);

}
